@import "iconfont.css";

.ke-toolbar-icon {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #999;
}

/*布局CSS*/
.ke-toolbar, .ke-edit {
    position: relative;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
}

.ke-edit {
    border-top: 0;
    border-bottom: 0;
}

.ke-toolbar {
    background-color: #FFFFFF;
    padding: 0 6px;
    margin: 0;
    text-align: left;
    overflow: hidden;
}

.ke-outline {
    position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    float: left;
}

.ke-outline:hover .ke-toolbar-icon {
    color: #000;
}

.ke-edit-textarea {
    font: 12px/1.5 "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
    color: #333;
    overflow: auto;
    resize: none;
}

.ke-edit-iframe, .ke-edit-textarea {
    border: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
}

button, input, optgroup, option, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
}

.ke-statusbar {
    position: relative;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    overflow: hidden;
    text-align: right;
    cursor: s-resize;
}

.ke-menu {
    border: 1px solid #e6e6e6;
    background-color: #fff;
    color: #333;
    font-size: 13px;
    text-align: left;
    overflow: hidden;
}

.ke-menu-item {
    color: #333;
    height: 36px;
    line-height: 36px;
    min-height: 36px;
    overflow: hidden;
    cursor: pointer;
}

.ke-menu .ke-menu-item:hover {
    background-color: #f7f7f7;
}

.ke-menu-item-left {
    width: 27px;
    text-align: center;
    overflow: hidden;
}

.ke-menu-item-right {
    border: 0;
    padding: 0 0 0 5px;
    text-align: left;
    overflow: hidden;
}

.ke-inline-block {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}

.ke-toolbar .ke-hr {
    overflow: hidden;
    height: 1px;
    clear: both;
}

.ke-colorpicker {
    border: 1px solid #e6e6e6;
    background-color: #fff;
    color: #333;
    padding: 2px;
}

.ke-colorpicker-table {
    border: 0;
    margin: 0;
    padding: 0;
    border-collapse: separate;
}

.ke-colorpicker-cell {
    font-size: 0;
    line-height: 0;
    border: 1px solid #fff;
    cursor: pointer;
    margin: 5px;
    padding: 0;
}

.ke-colorpicker-cell-top {
    font-size: 13px;
    line-height: 34px;
    border: 1px solid #fff;
    cursor: pointer;
    margin: 0;
    padding: 0;
    text-align: center;
}

.ke-colorpicker-cell-on {
    border: 1px solid #5690D2;
}

.ke-colorpicker-cell-selected {
    border: 1px solid #2446AB;
}

.ke-colorpicker-cell-color {
    width: 28px;
    height: 28px;
    margin: 5px;
    padding: 0;
    border: 0;
}

.ke-tabs {
    font-size: 15px;
    border-bottom: 1px solid #e6e6e6;
    padding-left: 5px;
    margin-bottom: 20px;
}

.ke-tabs-ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ke-tabs-li {
    position: relative;
    border: 1px solid #e6e6e6;
    background-color: #f7f7f7;
    margin: 0 2px -1px 0;
    padding: 0 20px;
    float: left;
    line-height: 32px;
    text-align: center;
    color: #555555;
    cursor: pointer;
}

.ke-tabs-li-selected {
    background-color: #FFF;
    border-bottom: 1px solid #FFF;
    color: #000;
    cursor: default;
}

.ke-tabs-li-on {
    background-color: #FFF;
    color: #000;
}

.ke-clearfix:after {
    content: ".";
    display: block;
    clear: both;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

/* progressbar */
.ke-progressbar {
    position: relative;
    margin: 0;
    padding: 0;
}

.ke-progressbar-bar {
    border: 1px solid #6FA5DB;
    width: 80px;
    height: 5px;
    margin: 10px 10px 0 10px;
    padding: 0;
}

.ke-progressbar-bar-inner {
    width: 0;
    height: 5px;
    background-color: #6FA5DB;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.ke-progressbar-percent {
    position: absolute;
    top: 0;
    left: 40%;
    display: none;
}

.ke-dialog {
    position: absolute;
    margin: 0;
    padding: 0;
}

.ke-dialog-content {
    background-color: #FFF;
    width: 100%;
    height: 100%;
    color: #333;
    border: 1px solid #e6e6e6;
    box-shadow: 1px 1px 2px #ccc;
}

.ke-dialog-shadow {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 3px 3px 7px #999;
    -moz-box-shadow: 3px 3px 7px #999;
    -webkit-box-shadow: 3px 3px 7px #999;
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3', MakeShadow='true', ShadowOpacity='0.4');
    background-color: #F0F0EE;
}

.ke-dialog-header {
    padding: 10px 16px;
    background-color: #f8f8f8;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #e6e6e6;
}

.ke-dialog-icon-close {
    display: block;
    position: absolute;
    font-size: 22px;
    color: #333;
    right: 8px;
    top: 8px;
    cursor: pointer;
}

.ke-dialog-row {
    margin-bottom: 12px;
}

.ke-dialog-body label {
    margin-right: 10px;
    font-size: 14px;
    cursor: pointer;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}

.ke-input-text {
    background-color: #FFFFFF;
    font-size: 12px;
    line-height: 20px;
    height: 20px;
    padding: 2px 4px;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 1px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}

.ke-button-outer {
    background-position: 0 -25px;
    padding: 0;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}

.ke-button-common {
    cursor: pointer;
    overflow: visible;
    display: inline-block;
    vertical-align: top;
}

.ke-input-number {
    width: 50px;
}

.ke-dialog-body img {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}

.ke-dialog-preview, .ke-dialog-yes {
    margin: 5px;
}

.ke-dialog-no {
    margin: 5px 20px 5px 15px;
}

.ke-dialog-footer {
    font-size: 14px;
    text-align: right;
    background-color: #FFF;
    width: 100%;
    height: 42px;
    line-height: 42px;
}

.ke-dialog-footer .ke-button {
    height: 28px;
    line-height: 28px;
    color: #333;
    font-size: 14px;
    padding: 0 16px;
    border-radius: 2px;
    background-color: #f7f7f7;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

.ke-upload-button .ke-button, .ke-swfupload-startupload .ke-button, .ke-button-outer .ke-button {
    font-size: 12px;
    line-height: 26px;
    height: 26px;
    padding: 0 10px;
    background-color: #f7f7f7;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}
.ke-swfupload-top {
    position: relative;
    margin-bottom: 10px;
    _width: 608px;
}
.ke-swfupload-startupload {
    position: absolute;
    top: 0;
    right: 0;
}
.ke-swfupload-desc{
    font-size: 12px;
}
.ke-swfupload-body {
    overflow: scroll;
    background-color: #FFFFFF;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 1px;
    width: auto;
    height: 350px;
    padding: 5px;
}
.ke-button:hover {
    background-color: #fff;
}

.ke-upload-button {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
}

.ke-upload-area {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    *height: 25px;
}

.ke-upload-area .ke-upload-file {
    position: absolute;
    font-size: 60px;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    z-index: 811212;
    border: 0 none;
    opacity: 0;
    filter: alpha(opacity=0);
}
.ke-dialog .ke-header {
    width: 100%;
    margin-bottom: 10px;
}
.ke-dialog .ke-header .ke-left {
    float: left;
}
.ke-dialog .ke-header .ke-right {
    float: right;
}
.ke-dialog .ke-header label {
    margin-right: 0;
    cursor: pointer;
    font-weight: normal;
    display: inline;
    vertical-align: top;
}
.ke-dialog-body select {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
    width: auto;
    background-color: #FFFFFF;
    font-size: 12px;
    line-height: 26px;
    height: 26px;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 1px;
}
.ke-dialog-body .ke-textarea {
    display: block;
    width: 408px;
    height: 260px;
    font-size: 12px;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 1px;
}
.ke-input-color {
    border: 1px solid #e6e6e6;
    background-color: #FFFFFF;
    font-size: 12px;
    width: 60px;
    height: 20px;
    line-height: 20px;
    padding-left: 5px;
    overflow: hidden;
    cursor: pointer;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}
.ke-plugin-emoticons {
    position: relative;
}
.ke-plugin-emoticons .ke-preview {
    position: absolute;
    text-align: center;
    margin: 2px;
    padding: 10px;
    top: 0;
    border: 1px solid #e6e6e6;
    background-color: #FFFFFF;
    display: none;
}
.ke-plugin-emoticons .ke-preview-img {
    border:0;
    margin:0;
    padding:0;
}
.ke-plugin-emoticons .ke-table {
    border:0;
    margin:0;
    padding:0;
    border-collapse:separate;
}
.ke-plugin-emoticons .ke-cell {
    margin:0;
    padding:1px;
    border:1px solid #F0F0EE;
    cursor:pointer;
}
.ke-plugin-emoticons .ke-on {
    border: 1px solid #5690D2;
    background-color: #E9EFF6;
}
.ke-plugin-emoticons .ke-img {
    display:block;
    background-repeat:no-repeat;
    overflow:hidden;
    width:24px;
    height:24px;
    margin: 0;
    padding: 0;
    border: 0;
}
.ke-plugin-emoticons .ke-page {
    text-align: right;
    margin: 5px;
    padding: 0;
    border: 0;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}
.ke-plugin-plainpaste-textarea,
.ke-plugin-wordpaste-iframe {
    display: block;
    width: 408px;
    height: 260px;
    font-size: 12px;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 1px;
}
.ke-dialog-loading {
    position: absolute;
    top: 0;
    left: 1px;
    z-index: 1;
    text-align: center;
}
.ke-dialog-loading-content {
    background: url("../common/loading.gif") no-repeat;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    height: 31px;
    line-height: 31px;
    padding-left: 36px;
}
